package org.example.springmvc.pojo;

/**
 * ClassName: Car
 * Package: org.example.springmvc.pojo
 * Description:
 *
 * @Author wanghao
 * @Create 2024-07-11 10:26
 * @Version 1.0
 */
public class Car {

    private String cname;

    private Integer price;

    public Car() {
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Car{" +
                "cname='" + cname + '\'' +
                ", price=" + price +
                '}';
    }
}
